// 和新闻的管理页面相关和登录有关
let adminController =  require("../controller/adminController.js");
let Router = require("koa-router");
let router = new Router({
    prefix:"/admin"
});
router.get("/index",adminController.renderIndex);
router.get("/login",adminController.renderLogin)
router.post("/checkuser",adminController.checkuser)
router.get("/addnews",adminController.renderAddnews);

module.exports = router;
